package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.Resumo;
import br.edu.fanor.esfinge.services.ResumoServiceRemote;

@Stateless
public class ResumoServiceImpl implements ResumoServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public Resumo inserir(Resumo resumo) {
		em.persist(resumo);
		return resumo;
	}
	
	

}
